package edu.scau.sku.vo;

import java.util.Date;

import java.io.Serializable;

import edu.scau.core.Enum.ColorEnum;
import edu.scau.core.Enum.SizeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * (SkuColorSize)实体类
 *
 * @author hwh
 * @since 2025-03-22 14:18:18
 */

@Tag(name = "库存详情表", description = " 库存详情传输对象vo")
@Data
public class SkuColorSizeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(name = "id", type = "Integer", description = "唯一自增id")
    private Integer id;

    @Schema(name = "skuCode", type = "String", description = "唯一库存编码")
    private String skuCode;

    @Schema(name = "color", type = "String", description = "颜色", implementation = ColorEnum.class)
    private String color;

    @Schema(name = "size", type = "String", description = "尺寸", implementation = SizeEnum.class)
    private String size;



    public SkuColorSizeVo() {
    }

    public SkuColorSizeVo( Integer id,   String skuCode,   String color,   String size ) {
        this.id = id;
        this.skuCode = skuCode;
        this.color = color;
        this.size = size;
    }
    public SkuColorSizeVo(String skuCode,   String color,   String size ) {
        this.skuCode = skuCode;
        this.color = color;
        this.size = size;
    }

}
